home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 001 / hostv11g.arc / HOSTCALL.DOC < prev    next >
Encoding:
Text File  |  1984-01-20  |  76.6 KB  |  2,419 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.                                HOSTCALL
  23.  
  24.                               Version 1.1
  25.  
  26.  
  27.        Unattended Telecommunications for the IBM Personal Computer
  28.                   Requires a Hayes Smartmodem and 128K
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.                    Copyright 1984 William HT Bailey
  58.                          All Rights Reserved
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.       COMMERCIAL                  COMMERCIAL                  COMMERCIAL
  69.  
  70.  
  71.  
  72.                     +++ REQUEST FOR CONTRIBUTION +++
  73.  
  74. If  you  are  using  this  program  and  find  it  to  be  of value then a $35
  75. contribution is suggested.
  76.                            William HT Bailey
  77.                             P.O. Box 29723
  78.                        Elkins Park, PA 19117-0923
  79.                          CompuServe: 74145,1046
  80.  
  81.  
  82.                      +++ USER SUPPORTED CONCEPT +++
  83.  
  84. This  HOST-III / HOSTCALL software package is being distributed under the USER
  85. SUPPORTED  concept.  That is you are granted permission to copy and share this
  86. program  as  long  as  no  price is charged for the software or documentation.
  87. Contributiions,  although completely voluntary, will compensate the Author for
  88. his  effort  and will ensure further development. Anyone may request a copy of
  89. this package by either
  90.     1. Sending the Author a blank formatted double-sided diskette (or 2 single
  91.        sided diskettes) along with a self-addressed postage-paid mailer
  92. or
  93.     2. Sending the Author $35 in which case the  diskette, mailer  and postage
  94.        will be supplied.
  95.  
  96.  
  97.                              +++ DISCLAIMER +++
  98.  
  99. In  no  event  will the Author be liable to you for any damages, including any
  100. lost  profits,  lost  savings  or  other  incidental  or consequential damages
  101. arising  out  of  the  use  of or inability to use these programs, even if the
  102. Author  has  been advised of the possibility of such damages, or for any claim
  103. by any other party.
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.       COMMERCIAL                  COMMERCIAL                  COMMERCIAL
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.                                HOSTCALL
  142.  
  143.                               Version 1.1
  144.  
  145.  
  146.        Unattended Telecommunications for the IBM Personal Computer
  147.                  Requires a Hayes Smartmodem and 128K
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.                                CONTENTS
  158.  
  159.                                                                          Page
  160.  
  161.    I. General Description ...............................................  1
  162.   II. HOSTCALL Setup .................................................... 15
  163.  III. Build Command File ................................................ 18
  164.   IV. HOSTCALL Menu ..................................................... 26
  165.    V. Review / Edit Command File ........................................ 28
  166.   VI. Review Status File ................................................ 30
  167.  VII. Idle Mode ......................................................... 31
  168. VIII. Active Mode ....................................................... 32
  169.   IX. Dialing ........................................................... 33
  170.    X. Messages .......................................................... 34
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.                                    HOSTCALL
  201.  
  202. I. General Description
  203.  
  204. This section has two objectives. They are:
  205.     1. To describe the uses of this program.
  206.     2. To  provide enough  information so that you can start using the program
  207.        immediately.
  208. The  second  objective  is  possible, because the use of this program is quite
  209. straight  forward.  You  will  find  the  details which will enable you to use
  210. HOSTCALL to its fullest capability in the remaining sections.
  211.  
  212. If  your  use  of host computer systems involves routinely putting data onto a
  213. host system or pulling data off of a host system, then you are aware that this
  214. involves  a  series of specific commands to the host system. With HOSTCALL you
  215. can  put that series of commands, along with the telephone number and the time
  216. to  call,  into  what is called a COMMAND FILE. HOSTCALL will then perform the
  217. calling,  signon,  data transfer and signoff for you while you sleep or attend
  218. to  some  other business. HOSTCALL also maintains what is called a STATUS FILE
  219. which stores all the messages which are transferred between the two computers.
  220. Therefore,  the  next morning or whenever you return to your computer, you can
  221. review  exactly  what  correspondence  occurred  between  the  two  computers.
  222. HOSTCALL  can  also be used in the situation where you are exchanging a number
  223. of  files with a friend, if your friend is running HOST-III. In this situation
  224. you  can  create a COMMAND FILE specifying a sequence of operations, and watch
  225. HOSTCALL  operate with HOST-III for two-sided unattended telecommunications. A
  226. small  business with plants at different locations can use HOSTCALL along with
  227. HOST-III  to  transfer data files between plants at night. In general HOSTCALL
  228. can be used to automate data transfers between host computer systems.
  229.  
  230. When  you  ask  HOSTCALL  to transfer a file, the program will normally assume
  231. that  the  file is an ASCII file. However ANY type of file can be transferred,
  232. if  you  ask  HOSTCALL  to transfer the file under the XMODEM protocol of file
  233. transmission  (and  the  host  system supports this protocol). You can specify
  234. this  protocol  by  appending  a  +X  to  a filename specification. The XMODEM
  235. protocol is simply a sophisticated method of transferring files.
  236.  
  237. Once  you  have  created a COMMAND FILE, the program presents you a menu of of
  238. options. These options are:
  239.     Exit
  240.     Review / Edit COMMAND FILE
  241.     Review STATUS FILE
  242.     Enter the mode of automatic operations
  243.     Display the disk directories / View a file
  244.     Enter the manual communications mode
  245. The  exit  path from any option (except the EXIT option) is always back to the
  246. menu.  Also, the program will allow you to exit to the menu at any time during
  247. automatic  operations. In that case the program will pick up where it left off
  248. upon re-entering automatic operations.
  249.  
  250. The  program  recognizes  3  operator  commands  once  it  has begun automatic
  251. operations. They are:
  252.     ALT M      - Send  a spontaneous  message to the HOST-III system operator.
  253.                  (Meaning only during active communications with HOST-III).
  254.     ALT U      - Exit to menu.
  255.     CTRL Prtsc - Printout on / Printout off (of intercomputer correspondence).
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.                                       -1-
  263.  
  264.  
  265.  
  266.                                    HOSTCALL
  267.  
  268. Some other important notes concerning this program are:
  269.     1. HOSTCALL requires the use of a Hayes Smartmodem and 128K memory.
  270.     2. The STATUS FILE is created anew each time the program is run.
  271.     3. The  program enters a 15 minute HOLD state when it dials a busy number.
  272.        It  tries  the  number  one  more  time after leaving this state before
  273.        moving  on.  You  can be override this state by exiting to the menu and
  274.        then re-entering automatic operations. If you do this, the program will
  275.        redial  the  number  immediately upon re-entering automatic operations.
  276.        The 15 minute HOLD can also be overriden by pressing the ESC key.
  277.  
  278.     4. If  a file that is being received as an ASCII file already exists, then
  279.        the received file is attached to the end of the old file.
  280.     5. If  a  file  that  is  being received under the XMODEM protocol already
  281.        exists, then the old file is first deleted.
  282.  
  283. After  the simple setup procedure (described in detail in section II), you may
  284. either construct a new COMMAND FILE or recall an old one. The 6 figures at the
  285. end  of this section illustrate the construction of 3 different COMMAND FILE's
  286. and the contents of the resulting COMMAND FILE's.
  287.  
  288. Figure  1  illustrates  the  construction of a COMMAND FILE where the HOSTCALL
  289. user wants to call HOST-III and transfer two ASCII files. He wants to transfer
  290. PROG1.BAS  from  his  location to the remote location and he wants to transfer
  291. PROG2.BAS  from  the remote location to his location. The numbers on the right
  292. side  of  the  figure  are not produced by the program. They are there for the
  293. sake  of this discussion. The following is a line by line discussion of figure
  294. 1.
  295.     Line  1. HOSTCALL  asks  for  a time (based on the 24 hour clock) to  dial
  296.              the host system. The user responds with the time which represents
  297.              10:00 PM.
  298.     Line  2. HOSTCALL  asks for a telephone number and  the user responds with
  299.              2221111.
  300.     Ls 4-11. HOSTCALL  displays the 7 single character commands available from
  301.              the  primary  menu.  Commands  particular  to  communicating with
  302.              HOST-III  are  entered  from  this  menu.  You would select the D
  303.              command  from  this  menu,  if you wanted to communicate with any
  304.              other host system.
  305.     Line 13. The  program  requests  a  command.  The user responds with an R,
  306.              meaning that he wants to transfer a file FROM his location TO the
  307.              HOST-III location. Note that the R command is what HOST-III wants
  308.              to see, if HOST-III is doing the receiving.
  309.     Line 14. The program requests the name of the file. The user responds with
  310.              PROG1.BAS.
  311.     Line 15. The program requests the specification of the drive at the remote
  312.              location  where  the  user  wants the file to be stored. The user
  313.              responds with B.
  314.     Line 16. The program requests the specification of the drive at the user's
  315.              computer on which the file resides. The user responds with A.
  316.     Line 17. The  program  requests  a  command.  The  user responds with a T,
  317.              meaning that he wants to transfer a file TO his location FROM the
  318.              HOST-III location. Note that the T command is what HOST-III wants
  319.              to see, if HOST-III is doing the transmitting.
  320.     Line 18. The program requests the name of the file. The user responds with
  321.              PROG2.BAS.
  322.     Line 19. The program requests the specification of the drive at the remote
  323.              location on which the file resides. The user responds with B.
  324.  
  325.  
  326.  
  327.  
  328.                                       -2-
  329.  
  330.  
  331.  
  332.                                    HOSTCALL
  333.  
  334.     Line 20. The program requests the specification of the drive at the user's
  335.              computer  where  the  user  wants the file to be stored. The user
  336.              responds with A.
  337.     Line 21. The  program  requests  a command. The user responds with a / and
  338.              HOSTCALL ends the construction of the COMMAND FILE.
  339.  
  340. Figure  2  illustrates  the  COMMAND  FILE  that results from the procedure in
  341. figure  1.  The  numbers  on  the  left side of the figure are not part of the
  342. COMMAND  FILE.  However they are produced by the program when the COMMAND FILE
  343. is  reviewed,  so  that  the  COMMMAND  FILE can be edited by line number. The
  344. following is a line by line discussion of figure 2.
  345.     Line  1. HOSTCALL   recognizes   this   as   a   command   to  initiate  a
  346.              communications  link  at a specific time. That time is on line 2.
  347.              Note  that  all the commands in this file are in pairs. Note also
  348.              that only the first character in the first part of a command pair
  349.              is  significant. (For instance, HOSTCALL reads the C in CLOCK and
  350.              ignores the rest of the word).
  351.     Line  2. This is the time to initiate the communications link.
  352.     Line  3. This  is  the first part of the command pair which gives HOSTCALL
  353.              the  telephone  number to call. The D in DIAL id read by HOSTCALL
  354.              and the rest of the word is ignored.
  355.     Line  4. This is the telephone number to call.
  356.     Line  5. HOSTCALL  transfers  the  R from this command to HOST-III telling
  357.              HOST-III to receive a file.
  358.     Line  6. This  line  contains  the information needed by both HOSTCALL and
  359.              HOST-III  to  perform the transfer. Note that the remote computer
  360.              drive  specification  begins  on column 15 and the local computer
  361.              drive specification begins on column 17.
  362.     Line  7. HOSTCALL  transfers  the  T from this command to HOST-III telling
  363.              HOST-III to transmit a file.
  364.     Line  8. This  line  contains  the information needed by both HOSTCALL and
  365.              HOST-III  to  perform the transfer. Note that the remote computer
  366.              drive  specification  begins  on column 15 and the local computer
  367.              drive specification begins on column 17.
  368.  
  369. Figure  3  illustrates  the  construction of a COMMAND FILE where the HOSTCALL
  370. user  wants  to  call  HOST-III and transfer the file PROG.COM from the remote
  371. computer  using the XMODEM protocol of file transfer. The numbers on the right
  372. side  of  the  figure  are not produced by the program. They are there for the
  373. sake  of this discussion. The following is a line by line discussion of figure
  374. 3.
  375.     Lns 1,2. The  time  and  telephone  number for the communications link are
  376.              requested and input. The time represents 1:30AM.
  377.     Ln 4-11. HOSTCALL displays the primary menu. In this example the user will
  378.              enter  his  commands from this menu, since the commands from this
  379.              menu are particular to communicating with HOST-III. HOSTCALL will
  380.              take  care  of the signon, signoff and file transfer protocol, if
  381.              commands to HOST-III are entered from this menu.
  382.     Line 13. The  program  requests  a  command.  The  user responds with a T,
  383.              meaning that he wants to transfer a file TO his location FROM the
  384.              HOST-III location. Note that the T command is what HOST-III wants
  385.              to see, if HOST-III is doing the transmitting.
  386.     Line 14. The  program  requests  the name of the file. The user enters the
  387.              filename  specification  and appends it with a +X indicating that
  388.              the file is to be transferred under the XMODEM protocol.
  389.     Line 15. The program requests the specification of the drive at the remote
  390.              location on which the file resides. The user responds with A.
  391.  
  392.  
  393.  
  394.                                       -3-
  395.  
  396.  
  397.  
  398.                                    HOSTCALL
  399.  
  400.     Line 16. The program requests the specification of the drive at the user's
  401.              computer  where  the  user  wants the file to be stored. The user
  402.              responds with A.
  403.     Line 17. The  program  requests  a command. The user responds with a / and
  404.              HOSTCALL ends the construction of the COMMAND FILE.
  405.  
  406. Figure  4  illustrates  the  COMMAND  FILE  that results from the procedure in
  407. figure  3.  The  numbers  on  the  left side of the figure are not part of the
  408. COMMAND  FILE.  However they are produced by the program when the COMMAND FILE
  409. is  reviewed,  so  that  the  COMMMAND  FILE can be edited by line number. The
  410. following is a line by line discussion of figure 4.
  411.     Lns 1,2. These are the command and time to call HOST-III.
  412.     Lns 3,4. These are the command and telephone number for HOSTCALL to call.
  413.     Line  5. HOSTCALL  transfers  the  T from this command to HOST-III telling
  414.              HOST-III to transmit a file.
  415.     Line  6. This  line  contains  the information needed by both HOSTCALL and
  416.              HOST-III   to  perform  the  transfer.  Note  that  the  filename
  417.              specification  is  appended with a +X indicating that the file is
  418.              to  be  transferred under the XMODEM protocol. Note also that the
  419.              remote  computer  drive specification begins on column 15 and the
  420.              local computer drive specification begins on column 17.
  421.  
  422. Figure  5  illustrates the construction of a DIRECT COMMAND SEQUENCE. A DIRECT
  423. COMMAND  SEQUENCE  is one that you construct, if you want to specify precisely
  424. what  messages  HOSTCALL  is  going  to  send to the host computer system. The
  425. feature of allowing you to specify an exact sequence of commands gives you the
  426. ability  to automate  communications  with any host system. In this figure the
  427. HOSTCALL  user  instructs  the program to call a computer running HOST-III and
  428. perform  the  same functions as was instructed in figure 1. That is, the ASCII
  429. file  PROG1.BAS  will  be  transferred  from  the local computer to the remote
  430. computer,  and  the  ASCII  file  PROG2.BAS  will  be transferred to the local
  431. computer  from  the remote computer Note that in this case, unlike the case in
  432. figure  1,  the  user  must  be  concerned  with signon, signoff and the exact
  433. structure  and  sequence  of  commands  to the host system. The numbers on the
  434. right  side  of the figure are not produced by the program. They are there for
  435. the  sake  of  this  discussion. The following is a line by line discussion of
  436. figure 5.
  437.     Lns 1,2. The  time  and  telephone  number for the communications link are
  438.              requested and input. The time represents 3:00AM.
  439.     Ln 4-11. HOSTCALL displays the primary menu.
  440.     Line 13. The  program  requests  a  command.  The  user responds with a D,
  441.              requesting  to  be  transferred  to  the  secondary  menu for the
  442.              purpose of constructing a DIRECT COMMAND SEQUENCE.
  443.     L 15-25. The  program reminds the user that a DIRECT COMMAND SEQUENCE must
  444.              be  constructed  with  an intimate knowledge of the host system's
  445.              protocol.
  446.     Line 27. The  program  asks  the  user  if  he wants to continue with  the
  447.              DIRECT COMMAND SEQUENCE. The user responds with a Y.
  448.     L 29-38. The  program  displays the secondary menu. The first entry in the
  449.              menu  represents  the  fact  that any command of 20 characters or
  450.              less  can  be  inserted  into  a  DIRECT  COMMAND  SEQUENCE.  The
  451.              remaining  entries  represent commands that control the operation
  452.              of  HOSTCALL.  They  are  double lettered so that the program can
  453.              distinguish  between  commands  to  itself and commands it should
  454.              pass  on  to  the  host  system.  It assumes that double lettered
  455.              commands  are  commands  to  itself.  Note  that you cannot end a
  456.              COMMAND  FILE  from  the  secondary  menu. You must return to the
  457.              primary menu to do that.
  458.     Line 40. The program requests a command.
  459.  
  460.                                       -4-
  461.  
  462.  
  463.  
  464.                                    HOSTCALL
  465.  
  466.     Line 41. This  is  the  first  message  sent  to  the  host system, when a
  467.              communications link is established. The user knows that the first
  468.              piece of information he must provide HOST-III is the password.
  469.     Line 42. The  program  is  giving  the  user  the  option  to  incorporate
  470.              intelligent  processing  into  the  command sequence. If the user
  471.              enters  a Y, then he/she would be given an opportunity to specify
  472.              a  portion of the expected reponse. The user would then enter the
  473.              number  of  commands  for the program to advance, if the expected
  474.              response is not received. However in most instances the answer to
  475.              this  question  would  be  an  N,  since  the primary use of this
  476.              program   is  to  automate  communication  sequences  of  precise
  477.              protocols. In this case the user responds with an N.
  478.     Line 43. The program requests a command.
  479.     Line 44. Since HOST-III does not echo commands back to the originator, the
  480.              user  instructs  HOSTCALL  to  print all outgoing messages to the
  481.              screen,  so that he can follow the activities if he is sitting at
  482.              the console.
  483.     Line 45. The program requests a command.
  484.     Line 46. HOST-III  will  recognize  this  command  as  an  instruction for
  485.              HOST-III to receive a file.
  486.     Line 47. The user responds to this question with an N.
  487.     Line 48. The program requests a command.
  488.     Line 49. The  HOSTCALL  user  knows  that  after  HOST-III  receives the R
  489.              command,  it requests the name of the file that it should receive
  490.              and  the  drive  on  which  it  should  be stored. Therefore this
  491.              command  is  the  information  the  user  knows that HOST-III has
  492.              requested,  and  it  is  in  the  format that the user knows that
  493.              HOST-III has requested it.
  494.     Line 50. At  this  point  the  user  responds  to  option  to  incorporate
  495.              intelligent processing into the command sequence with a Y. He/she
  496.              does  this to cover the possibility that some abnormal condition,
  497.              such  as  a  full  disk  at  the  remote  computer, could prevent
  498.              HOST-III from receiving a file.
  499.     Line 51. The  program  asks  for  the  response  that  the user expects to
  500.              receive.  Only  a  portion  of  the  expected  response  need  be
  501.              entered.
  502.     Line 52. The  user  knows  that  if  there are no abnormal conditions then
  503.              HOST-III will respond with
  504.                   *** READY TO RECEIVE FILE ***
  505.              Therefore  he/she  enters  just  enough  to  allow the program to
  506.              determine if the expected response was received.
  507.     Line 53. If  the expected response is not received, then the user can have
  508.              HOSTCALL  advance  a  number  of  commands. In this case the user
  509.              tells HOSTCALL to advance 2 commands, if the expected response is
  510.              not received. This effectively skips the following command IN THE
  511.              COMMAND FILE (see figure 6), which is to be a command telling the
  512.              program  to  send  HOST-III  a file. (NOTE that the number 0 is a
  513.              legal  entry. If 0 is entered, then the program would execute the
  514.              current command a number of times. HOSTCALL would ask the user to
  515.              specify the maximum number of times the current command should be
  516.              executed before giving up.)
  517.     Line 54. The program requests a command.
  518.     Line 55. The  user  knows  that HOST-III is ready to receive a file, so he
  519.              instructs HOSTCALL to export a file.
  520.     Line 56. HOSTCALL  asks for the filename specification. The user  responds
  521.              with PROG1.BAS.
  522.     Line 57. THe user responds to this question with an A.
  523.     Line 58. The  program  requests  the  next  command  to be processed after
  524.              PROG1.BAS has been sent to HOST-III.
  525.  
  526.                                       -5-
  527.  
  528.  
  529.  
  530.                                    HOSTCALL
  531.  
  532.     Line 59. The user instructs HOSTCALL to prepare to import a file that will
  533.              later be sent by HOST-III.
  534.     Line 60. HOSTCALL asks for the filename  specification.  The user responds
  535.              with PROG2.BAS.
  536.     Line 61. THe user responds to this question with an A.
  537.     Line 62. The program requests a command.
  538.     Line 63. HOST-III  will  recognize  this  command  as  an  instruction for
  539.              HOST-III to transmit a file.
  540.     Line 64. The user responds to this question with an N.
  541.     Line 65. The program requests a command.
  542.     Line 66. The  HOSTCALL  user  knows  that  after  HOST-III  receives the T
  543.              command,  it requests the name of the file it should transmit and
  544.              the  drive  on  which  it  resides. Therefore this command is the
  545.              information the user knows that HOST-III has requested, and it is
  546.              in  the  format  that  the user knows that HOST-III has requested
  547.              it.
  548.     Line 67. The user responds to this question with an N.
  549.     Line 68. The program requests a command.
  550.     Line 69. The  user  knows  that HOST-III is about to transmit a file so he
  551.              instructs HOSTCALL to import the file that was specified on lines
  552.              59-61.
  553.     Line 70. The  program  requests  the  next  command  to be processed after
  554.              PROG2.BAS has been receives from HOST-III.
  555.     Line 71. HOST-III will recognize this command as the signoff command.
  556.     Line 72. The user responds to this question with an N.
  557.     Line 73. The program requests a command.
  558.     Line 74. The user instructs HOSTCALL to return to the primary menu.
  559.     L 76-83. HOSTCALL displays the primary menu.
  560.     Line 85. The  program  requests  a command. The user responds with a / and
  561.              HOSTCALL ends the construction of the COMMAND FILE.
  562.  
  563. Figure  6  illustrates  the  COMMAND  FILE  that results from the procedure in
  564. figure  5.  The  numbers  on  the  left side of the figure are not part of the
  565. COMMAND  FILE.  However they are produced by the program when the COMMAND FILE
  566. is  reviewed,  so  that  the  COMMMAND  FILE can be edited by line number. The
  567. following is a line by line discussion of figure 6.
  568.     Lns 1,2. These are the command and time to call the host system.
  569.     Lns 3,4. These are the command and telephone number for HOSTCALL to call.
  570.     Line  5. The dot indicates to HOSTCALL that the command is to be processed
  571.              as  part of a DIRECT COMMAND SEQUENCE. This command is sent AS IS
  572.              to  the  host  system.  It  represents the password that HOST-III
  573.              wants to see upon signon.
  574.     Line  6. This command instructs HOSTCALL to print all outgoing messages to
  575.              the screen.
  576.     Line  7. This  command  is sent directly to HOST-III. It tells HOST-III to
  577.              prepare to receive a file.
  578.     Line  8. This  command  is  sent  to  HOST-III  after  HOSTCALL receives a
  579.              response  to  the  command in line 7. It provides the information
  580.              about  the file that HOST-III is about to receive. Also contained
  581.              on  this  line  are  a  portion  of  the  response that should be
  582.              received  from  HOST-III  as  a  result  of this command, and the
  583.              number  of  commands  to  advance if the expected response is not
  584.              received.  Notice  that if the expected response is not received,
  585.              then  the program would advance 2 commands to the command in line
  586.              10.
  587.  
  588.  
  589.  
  590.  
  591.  
  592.                                       -6-
  593.  
  594.  
  595.  
  596.                                    HOSTCALL
  597.  
  598.     Line  9. This  command instructs HOSTCALL to export the file that HOST-III
  599.              is  ready to  receive. For the sake of future editing, you should
  600.              note  that  the drive specification and program name at the local
  601.              computer starts on column 17.
  602.     Line 10. This  command instructs HOSTCALL to prepare to import a file. For
  603.              the  sake  of  future  editing,  you  should  note that the drive
  604.              specification  and  program  name at the local computer starts on
  605.              column 17.
  606.     Line 11. This  command  is sent directly to HOST-III. It tells HOST-III to
  607.              transmit a file.
  608.     Line 12. This  command  is  sent  to  HOST-III  after  HOSTCALL receives a
  609.              response  to  the command on line 11. It provides the information
  610.              about the file that HOST-III is about to transmit.
  611.     Line 13. This  command instructs HOSTCALL to import the file that HOST-III
  612.              is about to transmit. The file was specified on line 10.
  613.     Line 14. This  command  is  sent  directly  to HOST-III. It is the signoff
  614.              command.
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.                                       -7-
  659.  
  660.  
  661.  
  662.                                    HOSTCALL
  663.  
  664. Time for first communication (e.g. 18:30): 22:00                         --  1
  665. Phone number: 2221111                                                    --  2
  666.                                                                          --  3
  667. +++ COMMAND FILE HELP MENU +++                                           --  4
  668. (C)lock. Time to dial host system.                                       --  5
  669. (R)eceivs FROM this location. (Transfer to HOST.)                        --  6
  670. (T)ransmit TO this location. (Transfer from HOST.)                       --  7
  671. (M)essage.                                                               --  8
  672. (/). End COMMAND FILE.                                                   --  9
  673. (H)elp. This menu.                                                       -- 10
  674. (D)irect. Allows communication with any host system.                     -- 11
  675.                                                                          -- 12
  676. ENTER COMMAND (C,R,T,M,/,H,D): R                                         -- 13
  677. Enter filename: PROG1.BAS                                                -- 14
  678. Remote computer drive (A,B,C,D): B                                       -- 15
  679. Local computer drive (A,B,C,D): A                                        -- 16
  680. ENTER COMMAND (C,R,T,M,/,H,D): T                                         -- 17
  681. Enter filename: PROG2.BAS                                                -- 18
  682. Remote computer drive (A,B,C,D): B                                       -- 19
  683. Local computer drive (A,B,C,D): A                                        -- 20
  684. ENTER COMMAND (C,R,T,M,/,H,D): /                                         -- 21
  685.  
  686.  
  687.  
  688.  
  689. FIGURE 1. Construction of sample COMMAND FILE.
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.                                       -8-
  725.  
  726.  
  727.  
  728.                                    HOSTCALL
  729.  
  730.   1>CLOCK
  731.   2>22:00:00
  732.   3>DIAL
  733.   4>2221111
  734.   5>RECEIVE FROM THIS LOCATION
  735.   6>PROG1.BAS     B:A:
  736.   7>TRANSMIT TO THIS LOCATION
  737.   8>PROG2.BAS     B:A:
  738.  
  739.  
  740.  
  741.  
  742. FIGURE 2. Sample COMMAND FILE.
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.                                       -9-
  791.  
  792.  
  793.  
  794.                                    HOSTCALL
  795.  
  796. Time for first communication (e.g. 18:30): 1:30                          --  1
  797. Phone number: 2221111                                                    --  2
  798.                                                                          --  3
  799. +++ COMMAND FILE HELP MENU +++                                           --  4
  800. (C)lock. Time to dial host system.                                       --  5
  801. (R)eceive FROM this location. (Transfer to HOST.)                        --  6
  802. (T)ransmit TO this location. (Transfer from HOST.)                       --  7
  803. (M)essage.                                                               --  8
  804. (/). End COMMAND FILE.                                                   --  9
  805. (H)elp. This menu.                                                       -- 10
  806. (D)irect. Allows communication with any host system.                     -- 11
  807.                                                                          -- 12
  808. ENTER COMMAND (C,R,T,M,/,H,D): T                                         -- 13
  809. Enter filename: PROG.COM+X                                               -- 14
  810. Remote computer drive (A,B,C,D): A                                       -- 15
  811. Local computer drive (A,B,C,D): A                                        -- 16
  812. ENTER COMMAND (C,R,T,M,/,H,D): /                                         -- 17
  813.  
  814.  
  815.  
  816.  
  817. FIGURE 3. Construction of sample COMMAND FILE with XMODEM.
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.                                      -10-
  857.  
  858.  
  859.  
  860.                                    HOSTCALL
  861.  
  862.   1>CLOCK
  863.   2>1:30:00
  864.   3>DIAL
  865.   4>2221111
  866.   5>TRANSMIT TO THIS LOCATION
  867.   6>PROG.BAS+X    A:A:
  868.  
  869.  
  870.  
  871.  
  872. FIGURE 4. Sample COMMAND FILE with XMODEM.
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.                                      -11-
  923.  
  924.  
  925.  
  926.                                    HOSTCALL
  927.  
  928. Time for first communication (e.g. 18:30): 3                             --  1
  929. Phone number: 2221111                                                    --  2
  930.                                                                          --  3
  931. +++ COMMAND FILE HELP MENU +++                                           --  4
  932. (C)lock. Time to dial host system.                                       --  5
  933. (R)eceive FROM this location. (Transfer to HOST.)                        --  6
  934. (T)ransmit TO this location. (Transfer from HOST.)                       --  7
  935. (M)essage.                                                               --  8
  936. (/). End COMMAND FILE.                                                   --  9
  937. (H)elp. This menu.                                                       -- 10
  938. (D)irect. Allows communication with any host system.                     -- 11
  939.                                                                          -- 12
  940. ENTER COMMAND (C,R,T,M,/,H,D): D                                         -- 13
  941.                                                                          -- 14
  942. +++ DIRECT COMMAND SEQUENCE +++                                          -- 15
  943.                                                                          -- 16
  944. Direct commands are transferred to the host system AS IS.                -- 17
  945. Therefore direct commands may be used to communicate with                -- 18
  946. any host system.                                                         -- 19
  947.                                                                          -- 20
  948. However unlike a HOST COMPUTER command sequence, a direct                -- 21
  949. command sequence cannot detect warnings of abnormal                      -- 22
  950. conditions from the host system. Therefore direct commands               -- 23
  951. must be entered in the exact sequence required by the host               -- 24
  952. system.                                                                  -- 25
  953.                                                                          -- 26
  954. Continue with DIRECT COMMAND SEQUENCE? (Y,N): Y                          -- 27
  955.                                                                          -- 28
  956. +++ DIRECT COMMAND HELP MENU +++                                         -- 29
  957. __ - Any command recognized by host system. (20 chars or less.)          -- 30
  958. CC - Send a Control C.                                                   -- 31
  959. XX - Export a file to the host system.                                   -- 32
  960. OO - Open a local storage file.                                          -- 33
  961. II - Import a file. (A storage file must have been OPENED.)              -- 34
  962. PP - Insert an 8 second pause into command sequence.                     -- 35
  963. EE - Enable local echoing to screen of outgoing messages.                -- 36
  964. RR - Return to the main menu.                                            -- 37
  965. HH - Print this menu.                                                    -- 38
  966.                                                                          -- 39
  967. ENTER COMMAND (__,CC,XX,OO,II,PP,EE,RR,HH)                               -- 40
  968. WORD                                                                     -- 41
  969. Alter command sequence if expected response not received? (Y,N): N       -- 42
  970. ENTER COMMAND (__,CC,XX,OO,II,PP,EE,RR,HH)                               -- 43
  971. EE                                                                       -- 44
  972. ENTER COMMAND (__,CC,XX,OO,II,PP,EE,RR,HH)                               -- 45
  973. R                                                                        -- 46
  974. Alter command sequence if expected response not received? (Y,N): N       -- 47
  975. ENTER COMMAND (__,CC,XX,OO,II,PP,EE,RR,HH)                               -- 48
  976. B:PROG1.BAS                                                              -- 49
  977. Alter command sequence if expected response not received? (Y,N): Y       -- 50
  978. Enter 10 characters (or less) of the expected response                   -- 51
  979. RECEIVE                                                                  -- 52
  980. Advance how many commands if not expected response?: 2                   -- 53
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.                                      -12-
  989.  
  990.  
  991.  
  992.                                    HOSTCALL
  993.  
  994. ENTER COMMAND (__,CC,XX,OO,II,PP,EE,RR,HH)                               -- 54
  995. XX                                                                       -- 55
  996. Name of file to be exported: PROG1.BAS                                   -- 56
  997. File resides on which drive? (A,B,C,D): A                                -- 57
  998. ENTER COMMAND (__,CC,XX,OO,II,PP,EE,RR,HH)                               -- 58
  999. OO                                                                       -- 59
  1000. Name of file to be imported: PROG2.BAS                                   -- 60
  1001. Store file on which drive? (A,B,C,D): A                                  -- 61
  1002. ENTER COMMAND (__,CC,XX,OO,II,PP,EE,RR,HH)                               -- 62
  1003. T                                                                        -- 63
  1004. Alter command sequence if not expected response? (Y,N): N                -- 64
  1005. ENTER COMMAND (__,CC,XX,OO,II,PP,EE,RR,HH)                               -- 65
  1006. B:PROG2.BAS                                                              -- 66
  1007. Alter command sequence if not expected response? (Y,N): N                -- 67
  1008. ENTER COMMAND (__,CC,XX,OO,II,PP,EE,RR,HH)                               -- 68
  1009. II                                                                       -- 69
  1010. ENTER COMMAND (__,CC,XX,OO,II,PP,EE,RR,HH)                               -- 70
  1011. G                                                                        -- 71
  1012. Alter command sequence if not expected response? (Y,N): N                -- 72
  1013. ENTER COMMAND (__,CC,XX,OO,II,PP,EE,RR,HH)                               -- 73
  1014. RR                                                                       -- 74
  1015.                                                                          -- 75
  1016. +++ COMMAND FILE HELP MENU +++                                           -- 76
  1017. (C)lock. Time to dial host system.                                       -- 77
  1018. (R)eceive FROM this location. (Transfer to HOST.)                        -- 78
  1019. (T)ransmit TO this location. (Transfer from HOST.)                       -- 79
  1020. (M)essage.                                                               -- 80
  1021. (/). End COMMAND FILE.                                                   -- 81
  1022. (H)elp. This menu.                                                       -- 82
  1023. (D)irect. Allows communication with any host system.                     -- 83
  1024.                                                                          -- 84
  1025. ENTER COMMAND (C,R,T,M,/,H,D): /                                         -- 85
  1026.  
  1027.  
  1028.  
  1029.  
  1030. FIGURE 5. Construction of COMMAND FILE containing DIRECT COMMAND SEQUENCE.
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.                                      -13-
  1055.  
  1056.  
  1057.  
  1058.                                    HOSTCALL
  1059.  
  1060.   1>CLOCK
  1061.   2>3:00:00
  1062.   3>DIAL
  1063.   4>2221111
  1064.   5>.WORD
  1065.   6>.EE. ECHO ON / ECHO OFF.
  1066.   7>.R
  1067.   8>.B:PROG1.BAS         RECEIVE   2
  1068.   9>.XX             A:PROG1.BAS
  1069.  10>.OO             A:PROG2.BAS
  1070.  11>.T
  1071.  12>.B:PROG2.BAS
  1072.  13>.II. Import a file.
  1073.  14>.G
  1074.  
  1075.  
  1076.  
  1077.  
  1078. FIGURE 6. Sample DIRECT COMMAND SEQUENCE.
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.                                      -14-
  1121.  
  1122.  
  1123.  
  1124.                                    HOSTCALL
  1125.  
  1126. II. HOSTCALL Setup
  1127.  
  1128. This  section  describes  the  setup  procedure  that you must complete before
  1129. HOSTCALL  will  be ready to accept your commands. The setup procedure involves
  1130. getting the program started and providing information on the following items:
  1131.     Current time
  1132.     Type of telephone line you have - rotary or touchtone
  1133.     Communication parameters
  1134. Your  type  of  telephone  line and communication parameters will be saved and
  1135. presented to you the next time you start the program. Therefore the full setup
  1136. must  be  completed  only  on the first time you run the program, and when you
  1137. want to change the setup.
  1138.  
  1139. NOTE  THAT HOSTCALL REQUIRES SOME SPACE ON ITS DISK FOR ITS WORK FILES. INSURE
  1140. THAT ITS DISK IS NOT FULL BEFORE RUNNING.
  1141.  
  1142.  
  1143.  
  1144. Connect and turn on your Hayes Smartmodem. Insure that the lights above the TR
  1145. and MR are lit.
  1146.  
  1147.  
  1148.  
  1149. The following are the 2 steps required to get HOSTCALL loaded and running:
  1150.  
  1151.     1 . Insert  a  disk containing the Disk Operating System into disk drive A
  1152.         (the drive on the left) and turn on the computer. Answer any questions
  1153.         the  computer may ask you (such as DATE and TIME) until you get to the
  1154.         point where the computer prompts you with
  1155.  
  1156.         A>
  1157.  
  1158.     2a. If the disk currently in drive A contains HOSTCALL then type
  1159.  
  1160.         HOSTCALL
  1161.  
  1162.         Press carriage return.
  1163.  
  1164.     2b. If  the  disk  does  not contain HOSTCALL  then  remove  the  disk and
  1165.         insert your disk containing HOSTCALL into drive A. Type
  1166.  
  1167.         HOSTCALL
  1168.  
  1169.         Press carriage return.
  1170. HOSTCALL  begins  by  printing a heading, a copyright notice and the following
  1171. questions.
  1172.  
  1173.  
  1174.     The current time is ________
  1175.     Is this correct? (Y,N):
  1176.  
  1177. The first line will contain what the program thinks is the current time. If it
  1178. is correct,  then  enter  Y (or y). If it is not correct then enter N (or n).
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.                                      -15-
  1187.  
  1188.  
  1189.  
  1190.                                    HOSTCALL
  1191.  
  1192.     Enter time (e.g. 18:30:00):
  1193.  
  1194. If  you  responded  to the previous question with N, then the program will ask
  1195. for  the  correct  time. Enter the time based on the 24 hour clock. The sample
  1196. time  in  the  parenthesis  represents  6:30PM. The program will not accept an
  1197. invalid input for time.
  1198.  
  1199.  
  1200.     OK to erase STATUS FILE from previous activity? (Y,N):
  1201.  
  1202. HOSTCALL checks for the existence of the STATUS FILE. IF IT IS NOT FOUND, THEN
  1203. THIS  QUESTION  IS SKIPPED. (Therefore this question will be skipped the first
  1204. time  you  run  the  program).  If it is found, then the program gives you the
  1205. opportunity to preserve this file if you wish to do so. If you enter N (or n),
  1206. then the program will request
  1207.  
  1208.     Enter a name for old STATUS FILE:
  1209.  
  1210. HOSTCALL  will rename the old STATUS FILE with the name you enter. THis allows
  1211. the  program  to  create  a  new STATUS FILE, using the name it normally uses,
  1212. without destroying the old one.
  1213.  
  1214. Alternatively,  if it is not necessary to preserve the previous STATUS FILE or
  1215. if you have already preserved it, then enter Y (or y).
  1216.  
  1217.  
  1218.     Rotary or Touchtone dialing? (R,T):
  1219.  
  1220. The  Smartmodem  must  know  if  your  telephone  line has rotary or touchtone
  1221. dialing. Enter R (or r) if it is rotary. Enter T (or t) if it is touchtone.
  1222.  
  1223.  
  1224.     Current communication parameters are:
  1225.          SPEED     300
  1226.          PARITY    E
  1227.          DATA BITS 7
  1228.          STOP BITS 1
  1229.     Are they OK? (Y,N):
  1230.  
  1231. If you do not want to change the communication parameters, the enter Y (or y),
  1232. and  the  program will skip the next 4 questions. If you do want to change the
  1233. communication  parameters,  then enter N (or n). If you do not understand this
  1234. question,  then  enter  Y (or y) since the default parameters will suffice for
  1235. most cases.
  1236.  
  1237.  
  1238.     SPEED (75,110,150,300,600,1200):
  1239.  
  1240. Enter   transmission   speed.  (This  question  is  skipped,  if  the  current
  1241. communication parameters are OK).
  1242.  
  1243.  
  1244.     PARITY (S,O,M,E,N):
  1245.  
  1246. Enter  parity  type.  (This  question is skipped, if the current communication
  1247. parameters are OK).
  1248.  
  1249.  
  1250.  
  1251.  
  1252.                                      -16-
  1253.  
  1254.  
  1255.  
  1256.                                    HOSTCALL
  1257.  
  1258.     DATA BITS (4,5,6,7,8):
  1259.  
  1260. Enter  the  number  of  data  bits.  (This question is skipped, if the current
  1261. communication parameters are OK).
  1262.  
  1263.  
  1264.     STOP BITS (1,2):
  1265.  
  1266. Enter  the  number  of  stop  bits.  (This question is skipped, if the current
  1267. communication parameters are OK).
  1268.  
  1269. At  this  point,  HOSTCALL  proceeds  to the BUILD COMMAND FILE portion of the
  1270. program.
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.                                      -17-
  1319.  
  1320.  
  1321.  
  1322.                                    HOSTCALL
  1323.  
  1324. III. Build Command File
  1325.  
  1326. This  section  describes  the commands you can submit to HOSTCALL when you are
  1327. building  a COMMAND FILE. In this portion of the program, HOSTCALL accepts and
  1328. stores  the sequences of activities you want it to perform. The program allows
  1329. you to save and reuse a COMMAND FILE.
  1330.  
  1331. A particular COMMAND FILE can contain a number of command sequences. A command
  1332. sequence  is  a  series  of  commands  which results in HOSTCALL engaging in a
  1333. complete  communications  link  with  a  host computer from signon to signoff.
  1334. There are 2 types of command sequences. They are:
  1335.     HOST-III COMMAND SEQUENCE.
  1336.     DIRECT COMMAND SEQUENCE.
  1337. You  would  construct  a  HOST-III COMMAND SEQUENCE, when you want HOSTCALL to
  1338. communicate with HOST-III. You would construct a DIRECT COMMAND SEQUENCE, when
  1339. you want HOSTCALL to communicate with any other host computer system. HOSTCALL
  1340. knows the communication protocol of HOST-III, so your using a HOST-III COMMAND
  1341. SEQUENCE  to  communicate  with  HOST-III  releases  you  from  the  chore  of
  1342. formatting  the  outgoing  commands in the precise structure and sequence that
  1343. HOST-III  wants to see them. Instead HOSTCALL will interpret your commands and
  1344. perform  the  necessary formatting. On the other hand, if you communicate with
  1345. any  other  host  system  using  a DIRECT COMMAND SEQUENCE, then HOSTCALL will
  1346. output  your  commands  without,  interpretation, exactly as you entered them.
  1347. However,  the program gives you the option to specify an expected response for
  1348. each  command  in  a  DIRECT  COMMAND  SEQUENCE.  The  program  will advance a
  1349. specified  number  of commands, if the expected response is not received. This
  1350. gives you the ability to incorporate
  1351.     IF NOT...GOTO
  1352. constructs  into  your  DIRECT  COMMAND  SEQUENCE.  You can also have HOSTCALL
  1353. execute  a  certain  command  a  specified  number  of times until an expected
  1354. response is received, by instructing the program to advance 0 commands.
  1355.  
  1356. There  are  2  menus  associated  with  the  BUILD COMMAND FILE portion of the
  1357. program.  Selections  from  the primary menu allow you to construct a HOST-III
  1358. COMMAND  SEQUENCE.  Selections  from  the secondary menu allow you construct a
  1359. DIRECT COMMAND SEQUENCE.
  1360.  
  1361. There are 5 different commands associated with the primary menu. They are;
  1362.     C - CLOCK command.
  1363.     D - DIAL command.
  1364.     R - RECEIVE command.
  1365.     T - TRANSMIT command.
  1366.     M - MESSAGE command.
  1367. There are 7 different commands associated with the secondary menu.They are:
  1368.     __ - Any 20 character or less command recognized by host system.
  1369.     CC - CONTROL C command.
  1370.     XX - EXPORT command.
  1371.     OO - OPEN command.
  1372.     II - IMPORT command.
  1373.     PP - PAUSE command.
  1374.     EE - ECHO command.
  1375.  
  1376.  
  1377. A  DESCRIPTION  OF  EACH  COMMAND  FOLLOWS.  THE  5 COMMANDS ASSOCIATED WITH A
  1378. HOST-III COMMAND SEQUENCE ARE ADDRESSED FIRST. A DESCRIPTION OF THE 7 COMMANDS
  1379. ASSOCIATED WITH A DIRECT COMMAND SEQUENCE WILL FOLLOW.
  1380.  
  1381.  
  1382.  
  1383.  
  1384.                                      -18-
  1385.  
  1386.  
  1387.  
  1388.                                    HOSTCALL
  1389.  
  1390.                              C - CLOCK command
  1391.  
  1392. The CLOCK command both initiates a new sequence of commands and terminates the
  1393. preceeding  sequence  if there is one. It designates the time that HOSTCALL is
  1394. to  dial  a host system. When you issue a CLOCK command, the program  asks you
  1395. to enter the time you want it to telephone the host system. A CLOCK command is
  1396. always followed by a DIAL command.
  1397.  
  1398.  
  1399.                               D - DIAL command
  1400.  
  1401. The   DIAL  command  is  not  directly  selectable  by  the  operator.  It  is
  1402. automatically  selected  after a CLOCK command. It allows you to designate the
  1403. telephone number that HOSTCALL is to dial.
  1404.  
  1405.  
  1406.                             R - RECEIVE command
  1407.  
  1408. DO  NOT CONFUSE THIS COMMAND WITH THE TRANSMIT COMMAND. The RECEIVE command is
  1409. transmitted to HOST-III as a command for HOST-III to receive a file. Therefore
  1410. the result of this command is that a file is transferred FROM your location TO
  1411. the  remote  location. When you issue a RECEIVE command, the program  asks you
  1412. to  enter  a filename and the disk drive  designators for the remote and local
  1413. computers.
  1414.  
  1415.  
  1416.                             T - TRANSMIT command
  1417.  
  1418. DO  NOT CONFUSE THIS COMMAND WITH THE RECEIVE COMMAND. The TRANSMIT command is
  1419. transmitted  to  HOST-III  as  a  command  for  HOST-III  to  transmit a file.
  1420. Therefore  the  result  of  this command is that a file is transferred TO your
  1421. location  FROM  the  remote  location.  When you issue a TRANSMIT command, the
  1422. program  asks you to enter  a filename and the  disk drive designators for the
  1423. remote and local computers.
  1424.  
  1425.  
  1426.                             M - MESSAGE command
  1427.  
  1428. The MESSAGE command is used to transmit comments to HOST-III. Since the STATUS
  1429. file  stores  all  requests  and  responses  exchanged  between  HOSTCALL  and
  1430. HOST-III,  this command is useful for annotating the STATUS FILE. THis command
  1431. is  also  useful for reserving locations in the COMMAND FILE that later may be
  1432. edited to a RECEIVE or TRANSMIT command. The program will allow you to enter a
  1433. message of 35 characters or less when you issue a MESSAGE command.
  1434.  
  1435.  
  1436. THE PROCEEDING WERE DESCRIPTIONS OF THE 5 COMMANDS ASSOCIATED WITH A HOST-III
  1437. COMMAND SEQUENCE. DESCRIPTIONS OF THE 7 COMMANDS ASSOCIATED WITH A DIRECT
  1438. COMMAND SEQUENCE FOLLOW.
  1439.  
  1440.  
  1441.                    __ - Any command 20 characters or less
  1442.  
  1443. When  entering  commands  into a DIRECT COMMAND SEQUENCE, HOSTCALL will accept
  1444. any  command of 20 characters or less. This command will be passed directly to
  1445. the  host  system  and  therefore  should  be meaningful to the host system. A
  1446. command with zero characters IS meaningful. It is passed to the host system as
  1447. a  simple  carriage  return. You can specify what you expect the response from
  1448. the  host system will be. You can instruct HOSTCALL to either advance a number
  1449.  
  1450.                                      -19-
  1451.  
  1452.  
  1453.  
  1454.                                    HOSTCALL
  1455.  
  1456. of  commands  or  to  re-execute the current command a number of times, in the
  1457. event that the expected response is not received.
  1458.  
  1459.  
  1460.                            CC - CONTROL C command
  1461.  
  1462. The result of this command is that a CONTROL C character is transmitted to the
  1463. host system. Some host systems require this character before they start.
  1464.  
  1465.  
  1466.                             XX - EXPORT command
  1467.  
  1468. The  EXPORT command instructs HOSTCALL to transfer a file FROM its location TO
  1469. the  host  location.  When  you  issue  this  command, the program  asks for a
  1470. filename  and  the designation of the disk drive on which the file resides. If
  1471. the  filename  is  appended  with +X, the program will send the file under the
  1472. XMODEM protocol of file transmission.
  1473.  
  1474.  
  1475.                              OO - OPEN command
  1476.  
  1477. The  OPEN  command  instructs HOSTCALL to reserve an area on disk that will be
  1478. used to store a file that will later be transferred from the host system by an
  1479. IMPORT  command.  When  you  issue  an  OPEN  command, the program  asks for a
  1480. filename  and  the  designation  of  the  disk drive on which the file will be
  1481. stored. If the filename is appended with +X, the program will receive the file
  1482. under  the  XMODEM  protocol  of  file  transmission when an IMPORT command is
  1483. issued.
  1484.  
  1485.  
  1486.                             II - IMPORT command
  1487.  
  1488. The  IMPORT command instructs HOSTCALL to transfer a file TO its location FROM
  1489. the  host  location.  The file will be stored under the name opened in an OPEN
  1490. command.  IF YOU FORGET TO OPEN A FILE PRIOR TO ISSUING  AN IMPORT COMMAND AND
  1491. THE  FILE  IS  BEING  RECEIVED  AS AN ASCII FILE, THEN THE PROGRAM WILL EITHER
  1492. ATTEMPT  TO  STORE  THE FILE ON THE DEFAULT DRIVE UNDER THE NAME IMPORT.HCL OR
  1493. ATTEMPT TO STORE IT IN THE STATUS FILE.
  1494.  
  1495.  
  1496.                             PP - PAUSE command
  1497.  
  1498. The  PAUSE  command  instructs  HOSTCALL  to insert an 8 second pause into the
  1499. command sequence. You may find this command useful, if HOSTCALL must be slowed
  1500. down in order to wait for the host system. Multiple PAUSE commands will create
  1501. a longer pause.
  1502.  
  1503.  
  1504.                              EE - ECHO command
  1505.  
  1506. Some host computer systems echo your outgoing messages back to your screen and
  1507. some  do  not.  The ECHO command will allow you to handle either situation, if
  1508. you   plan  to  sit  at  the  console  and  monitor  the  activities  while  a
  1509. communications link is active. HOSTCALL assumes that the host system will echo
  1510. your  outgoing  messages to the screen. If the host system does not, then this
  1511. command  will  instruct HOSTCALL to print your outgoing commands to the screen
  1512. as  they  are  sent to the host system. The next issuance of this command will
  1513. instruct HOSTCALL to stop printing your outgoing messages to the screen.
  1514.  
  1515.  
  1516.                                      -20-
  1517.  
  1518.  
  1519.  
  1520.                                    HOSTCALL
  1521.  
  1522.  
  1523. THE  PROCEEDING  WERE  DESCRIPTIONS OF THE COMMANDS AVAILABLE TO YOU WHILE YOU
  1524. ARE  CONSTRUCTING  A  COMMAND  FILE.  THE FOLLOWING  ARE  DESCRIPTIONS  OF THE
  1525. PROCEDURES INVOLVED IN THE ACTUAL CONSTRUCTION OF THE FILE.
  1526.  
  1527. The BUILD COMMAND FILE portion of HOSTCALL begins by displaying the header
  1528.  
  1529.     +++ BUILD COMMAND FILE +++
  1530.  
  1531. It then asks you
  1532.  
  1533.     Build a New or use an Old COMMAND FILE? (N,O):
  1534.  
  1535. Enter  N  (or n), if you want to construct a new COMMAND FILE. Enter O (or o),
  1536. if you want to use one that has already been constructed. If you enter O, then
  1537. the  program  will display the file directory of the disk on the default drive
  1538. and request
  1539.  
  1540.     Name of old COMMAND FILE:
  1541.  
  1542. After  you enter the name of the old COMMAND FILE, the program will proceed to
  1543. the HOSTCALL MENU.
  1544.  
  1545.  
  1546. If  you  elect  to  construct  a new COMMAND FILE, then HOSTCALL will take you
  1547. through the following procedure.
  1548.  
  1549.     Time for first communication (e.g. 18:30):
  1550.  
  1551. Enter  a  time  based on the 24 hour clock. The sample time in the parenthesis
  1552. represents 6:30PM. The input is checked for validity.
  1553.  
  1554.     Phone number:
  1555.  
  1556. This  entry  is transferred directly to the Smartmodem at the designated time.
  1557. Therefore  any  type of input acceptable to the Smartmodem is acceptable here.
  1558. For instance both of these inputs are acceptable
  1559.     (404) 393-5678
  1560.     4048935678
  1561. HOSTCALL makes no validity checks on phone number entries.
  1562.  
  1563. After this initial information is input, HOSTCALL prints the following
  1564.  
  1565.     +++ COMMAND FILE HELP MENU +++
  1566.     (C)lock. Time to dial host system.
  1567.     (R)eceive FROM this location. (Transfer to HOST.)
  1568.     (T)ransmit TO this location. (Transfer from HOST.)
  1569.     (M)essage.
  1570.     (/). End COMMAND FILE.
  1571.     (H)elp. This menu.
  1572.     (D)irect. Allows communication with any host system.
  1573.  
  1574.     ENTER COMMAND (C,R,T,M,/,H,D):
  1575.  
  1576. This  is  the  menu which allows you to construct a HOST-III COMMAND SEQUENCE.
  1577. The following describes the procedure associated with each command.
  1578.  
  1579.  
  1580.  
  1581.  
  1582.                                      -21-
  1583.  
  1584.  
  1585.  
  1586.                                    HOSTCALL
  1587.  
  1588.                                       C
  1589.  
  1590.     Enter time:
  1591.  
  1592. Enter  a  time  based  on  the  24  hour  clock.  Time entries are checked for
  1593. validity.  This command terminates the previous command sequence, if there was
  1594. one, and initiates a new one.
  1595.  
  1596.     Enter telephone number:
  1597.  
  1598. The CLOCK command automatically generates a request for a telephone number.
  1599.  
  1600.  
  1601.                                       R
  1602.  
  1603.     Enter filename:
  1604.  
  1605. Do  not  enter  a drive designator at this point. Append +X to the filename to
  1606. the  filename  if  you  want to transfer the file under the XMODEM protocol of
  1607. file transmission.
  1608.  
  1609.     Remote computer drive (A,B,C,D):
  1610.  
  1611. Enter  the  remote  computer  drive on which the file you will be transmitting
  1612. will be stored.
  1613.  
  1614.     Local computer drive (A,B,C,D):
  1615.  
  1616. Enter  the  drive  on  your  computer  which  contains  the  file  you will be
  1617. transmitting.
  1618.  
  1619.  
  1620.                                       T
  1621.  
  1622.     Enter filename:
  1623.  
  1624. Do  not  enter  a drive designator at this point. Append +X to the filename to
  1625. the  filename  if  you  want to transfer the file under the XMODEM protocol of
  1626. file transmission.
  1627.  
  1628.     Remote computer drive (A,B,C,D):
  1629.  
  1630. Enter  the  remote  computer  drive  which  contains  the  file  you  will  be
  1631. receiving.
  1632.  
  1633.     Local computer drive (A,B,C,D):
  1634.  
  1635. Enter  the drive on your computer on which the file you will be receiving will
  1636. be stored.
  1637.  
  1638.  
  1639.                                       M
  1640.  
  1641. The program displays a field in which you may enter your message.
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.                                      -22-
  1649.  
  1650.  
  1651.  
  1652.                                    HOSTCALL
  1653.  
  1654.                                       /
  1655.  
  1656. This  command  terminates  the  BUILD  COMMAND  FILE process. The program will
  1657. proceed to the HOSTCALL MENU.
  1658.  
  1659.  
  1660.                                       H
  1661.  
  1662. This command displays the COMMAND FILE HELP MENU.
  1663.  
  1664.  
  1665.                                       D
  1666.  
  1667. This command transfers the program to the menu which allows you to construct a
  1668. DIRECT COMMAND SEQUENCE.
  1669.  
  1670.  
  1671.  
  1672. If  you  issue  a D command, HOSTCALL will display a message concerning DIRECT
  1673. COMMAND SEQUENCES and then ask you
  1674.  
  1675.     Continue with DIRECT COMMAND SEQUENCE? (Y,N):
  1676.  
  1677. If  you  enter  N  (or n), the program will return to the primary menu. If you
  1678. enter Y (or y), the program will proceed to secondary menu by displaying:
  1679.  
  1680.     +++ DIRECT COMMAND HELP MENU +++
  1681.     __ - Any command recognized by host system. (20 chars or less.)
  1682.     CC - Send a Control C.
  1683.     XX - Export a file to the host system.
  1684.     OO - Open a local storage file.
  1685.     II - Import a file. (A storage file must have been OPENED.)
  1686.     PP - Insert an 8 second pause into command sequence.
  1687.     EE - Enable local echoing to screen of outgoing messages.
  1688.     RR - Return to the main menu.
  1689.     HH - Print this menu.
  1690.  
  1691.     ENTER COMMAND (__,CC,XX,OO,II,PP,EE,RR,HH)
  1692.  
  1693. A  description  of  the  procedure  associated  with  each  of  these commands
  1694. follows.
  1695.  
  1696.  
  1697.                                       __
  1698.  
  1699. HOSTCALL  will  register  a command to be sent to the host system and continue
  1700. with
  1701.  
  1702.     Alter command sequence if expected response not received? (Y,N):
  1703.  
  1704. If  you enter an N, the program will proceed to the next command. If you enter
  1705. a Y, the program will request
  1706.  
  1707.     Enter 10 characters (or less) of the expected response:
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.                                      -23-
  1715.  
  1716.  
  1717.  
  1718.                                    HOSTCALL
  1719.  
  1720. Enter a portion of the response you expect from the host system. HOSTCALL will
  1721. then ask
  1722.  
  1723.     Advance how many commands if not expected response?:
  1724.  
  1725. Enter the number of commands you want the program to advance in the event that
  1726. the  expected  response  is  not received. If you enter 0, indicating that you
  1727. want HOSTCALL to retry the current command, then the program will ask
  1728.  
  1729.     Maximum number of times to execute this command?:
  1730.  
  1731. Enter  the  maximum  number of times you want the program to issue the current
  1732. command looking for the expected response, before it stops trying and proceeds
  1733. to the next command.
  1734.  
  1735.  
  1736.                                       CC
  1737.  
  1738. HOSTCALL will simply register the CONTROL C command.
  1739.  
  1740.  
  1741.                                       XX
  1742.  
  1743.     Name of file to be exported:
  1744.  
  1745. Do  not  enter a drive designator at this point. Append +X to the filename, if
  1746. you want to transfer the file under the XMODEM protocol of file transmission.
  1747.  
  1748.     File resides on which drive? (A,B):
  1749.  
  1750. Enter  the  drive  on  your  computer  which  contains  the  file  you will be
  1751. exporting.
  1752.  
  1753.  
  1754.                                       OO
  1755.  
  1756.     Name of file to be imported:
  1757.  
  1758. Do  not  enter a drive designator at this point. Append +X to the filename, if
  1759. you want to transfer the file under the XMODEM protocol of file transmission.
  1760.  
  1761.     Store file on which drive? (A,B):
  1762.  
  1763. Enter  the drive on your computer on which the file you will be receiving will
  1764. be stored.
  1765.  
  1766.  
  1767.                                       II
  1768.  
  1769. HOSTCALL will simply register the IMPORT command.
  1770.  
  1771.  
  1772.                                       PP
  1773.  
  1774. HOSTCALL will simply register the PAUSE command.
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.                                      -24-
  1781.  
  1782.  
  1783.  
  1784.                                    HOSTCALL
  1785.  
  1786.                                       EE
  1787.  
  1788. HOSTCALL will simply register the ECHO command.
  1789.  
  1790.  
  1791.                                       RR
  1792.  
  1793. This  command  transfers the program back to the main menu. From there you can
  1794. either initiate another COMMAND SEQUENCE or end the COMMAND FILE.
  1795.  
  1796.  
  1797.                                       HH
  1798.  
  1799. This command displays the DIRECT COMMAND HELP MENU.
  1800.  
  1801.  
  1802.  
  1803. Upon ending the construction of a COMMAND FILE, HOSTCALL asks
  1804.  
  1805.     Save this COMMAND FILE? (Y,N):
  1806.  
  1807. If  you  enter N (or n), the program will proceed to the HOSTCALL MENU. If you
  1808. enter Y (or y), the program will request
  1809.  
  1810.     Name for this COMMAND FILE:
  1811.  
  1812. Enter  a  name by which you will refer to this COMMAND FILE when you reuse it.
  1813. The program will proceed to the HOSTCALL MENU.
  1814.  
  1815.  
  1816.  
  1817. You have just completed section III whose intent was to provide instruction on
  1818. constructing  COMMAND  FILE's.  After  reviewing  this  section along with the
  1819. examples  in  section  I, and with some practice, you will develop facility in
  1820. constructing  COMMAND  FILE's.  Before  you  attempt to construct a particular
  1821. DIRECT  COMMAND  SEQUENCE,  it  would be wise to first run through the desired
  1822. sequence  with a manual communications program to gain assurance that you know
  1823. the host system's protocol.
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.                                      -25-
  1847.  
  1848.  
  1849.  
  1850.                                    HOSTCALL
  1851.  
  1852. IV. HOSTCALL Menu
  1853.  
  1854. This section describes the facilities available to you, once a COMMAND FILE is
  1855. established.  Along  with  the  option which transfers HOSTCALL to the mode in
  1856. which  it performs automated telecommunications, there are a number of options
  1857. which give you extreme flexibility in controlling and monitoring the operation
  1858. of the program.
  1859.  
  1860.  
  1861. Upon entering this menu, HOSTCALL displays
  1862.  
  1863.     +++ HOSTCALL MENU +++
  1864.  
  1865.         0. EXIT
  1866.         1. REVIEW / EDIT COMMAND FILE
  1867.         2. REVIEW STATUS FILE
  1868.         3. ENTER COMMAND MODE
  1869.         4. DISPLAY FILES / VIEW A FILE
  1870.         5. MANUAL COMMUNICATIONS
  1871.  
  1872.            Enter selection:
  1873.  
  1874. and waits for you to enter a number. The menu also generates a time display at
  1875. the  bottom  of the screen. The following describes the options available from
  1876. the menu.
  1877.  
  1878.  
  1879.                           REVIEW / EDIT COMMAND FILE
  1880.  
  1881. This option is described in section V.
  1882.  
  1883.  
  1884.                               REVIEW STATUS FILE
  1885.  
  1886. This option is described in section VI.
  1887.  
  1888.  
  1889.                               ENTER COMMAND MODE
  1890.  
  1891. This  option  transfers  HOSTCALL  to the portions which interpret the COMMAND
  1892. FILE and perform the designated activities.
  1893.  
  1894. There  are two states associated with the COMMAND MODE. They are the IDLE MODE
  1895. and  the  ACTIVE  MODE.  HOSTCALL resides in the IDLE MODE until it is time to
  1896. initiate  a  communications  link. HOSTCALL operates in the ACTIVE MODE during
  1897. active communications.
  1898.  
  1899. You  can  return to the menu from the COMMAND MODE with an ALT U. That is, you
  1900. must  depress  the  ALT  key  while simultaneously hitting the U key, and then
  1901. release both keys.
  1902.  
  1903. HOSTCALL  exits  from  the COMMAND MODE to the menu when it reaches the end of
  1904. the  COMMAND FILE. If you enter the COMMAND MODE after the program has reached
  1905. the  end  of  the  COMMAND FILE, then HOSTCALL will immmediately return to the
  1906. menu.
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.                                      -26-
  1913.  
  1914.  
  1915.  
  1916.                                    HOSTCALL
  1917.  
  1918.                            DISPLAY FILES / VIEW A FILE
  1919.  
  1920. This command allows you to both display the file directories on disk drives A,
  1921. B,  C,  and  D,  and  view  an ASCII file. Viewing a file means displaying the
  1922. contents  of  an  ASCII  file  on the screen. Upon receiving this command, the
  1923. program responds with
  1924.  
  1925.     Drive A, B, C, D, View a file or Return? (A,B,,C,D,V,R):
  1926.  
  1927. If  you enter an A, B, C, or D, the program will display the file directory of
  1928. the corresponding disk drive.
  1929.  
  1930. If you enter a V, the program will respond with
  1931.  
  1932.     Name of file:
  1933.  
  1934. At this point you may enter the filename specification of the file you wish to
  1935. see.  HOSTCALL  will  display 18 lines of the file at a time and prompt you to
  1936. continue  by  pressing  the  space bar. You may abort the viewing of a file by
  1937. hitting the ESC key.
  1938.  
  1939. To  return  to  the  menu,  you  must enter an R when the program asks  you to
  1940. select an option.
  1941.  
  1942.  
  1943.                            MANUAL COMMUNICATIONS
  1944.  
  1945. This  option  allows you to operate your computer as a dumb terminal. You will
  1946. find  this  option  useful,  when  you  are  developing  a  new DIRECT COMMAND
  1947. SEQUENCE.  From this option you can practice the sequence of commands you want
  1948. to  automate. Also you can escape to this option to regain control of the host
  1949. computer, if a new DIRECT COMMAND SEQUENCE you are monitoring goes astray.
  1950.  
  1951. Since  some  host  computer  systems  echo your outgoing commands back to your
  1952. screen  and  some  do not, this option contains a function which allows you to
  1953. handle both situations. By entering an ALT E, you can alternately activate and
  1954. deactivate HOSTCALL's instruction to print outgoing commands to the screen. An
  1955. ALT E is entered by depressing the ALT key while simultaneously hitting the E,
  1956. and then releasing both keys.
  1957.  
  1958. You  can  return  to  the  menu  by  entering an ALT U. An ALT U is entered by
  1959. depressing  the ALT key while simultaneously hitting the U, and then releasing
  1960. both keys.
  1961.  
  1962.  
  1963.                                      EXIT
  1964.  
  1965. Upon selecting this option, the program prints
  1966.  
  1967.     +++ COMMAND FILE WILL BE DEACTIVATED +++
  1968.     EXIT? (Y,N):
  1969.  
  1970. HOSTCALL  is  letting you know that its place in the COMMAND FILE is lost upon
  1971. leaving  the  program. If the program has not completed processing the COMMAND
  1972. FILE,  you  may want it to do so before you exit. Entering Y (or y) terminates
  1973. the program. Entering N (or n) transfers the program back to the menu.
  1974.  
  1975.  
  1976.  
  1977.  
  1978.                                      -27-
  1979.  
  1980.  
  1981.  
  1982.                                    HOSTCALL
  1983.  
  1984. V. Review / Edit Command File
  1985.  
  1986. This  section  provides  the  details  associated with reviewing and editing a
  1987. COMMAND  FILE.  It  is  good  practice  to review a COMMAND FILE you have just
  1988. created  to  ensure  you  have  not made any errors. If you are reusing an old
  1989. COMMAND  FILE,  then  you  may  want  to  update  the time that HOSTCALL is to
  1990. telephone  the host system. After you become sophisticated, you may want to do
  1991. editing based on what has transpired in the course of an active communications
  1992. link.
  1993.  
  1994.  
  1995. This function is invoked from the HOSTCALL MENU. When invoked, the program
  1996. does the following. It displays the header
  1997.  
  1998.     +++ REVIEW / EDIT COMMAND FILE +++
  1999.  
  2000. then  generates  a time display and then prints the first sequence of commands
  2001. in the COMMAND FILE. (A sequence of commands is a series commands which begins
  2002. with  a  CLOCK command and ends at the next CLOCK command or at the terminator
  2003. of  the COMMAND FILE. It represents the activity in a communications link from
  2004. the initial dialing to the terminating hangup.)
  2005.  
  2006. After displaying a sequence of commands, the program prints
  2007.  
  2008.     Line number to edit (0=CONTINUE,ESC=EXIT):
  2009.  
  2010. If you enter a line number in the current sequence, HOSTCALL will ask you
  2011.  
  2012.     Change, Insert pair or Delete pair? (C,I,D):
  2013.  
  2014. If  you  enter  a C (or c), the program will display an input field which will
  2015. allow you to overwrite the current entry on the selected line.
  2016.  
  2017. Insertions  and  deletions of commands must be done in pairs, because HOSTCALL
  2018. processes  the  commands  in groups of two. Therefore insertions and deletions
  2019. are  allowed  only  at odd numbered commands and apply to that command and the
  2020. following command. Note that since the first two pairs of commands must remain
  2021. a CLOCK command pair and a DIAL command pair, insertions and deletions are not
  2022. allowed at these commands.
  2023.  
  2024. Entering an I (or i) in response to the prompt
  2025.  
  2026.     Change, Insert pair or Delete pair? (C,I,D):
  2027.  
  2028. results  in a pair of dummy commands being inserted BEFORE the current pair at
  2029. the selected line number. These dummy commands may then be overwritten. If you
  2030. elect to insert at the last pair the program will ask you
  2031.  
  2032.     Insert Before or After? (B,A):
  2033.  
  2034. thereby giving you the option to insert before or after the last pair.
  2035.  
  2036. Entering a D (or d) in response to the prompt
  2037.  
  2038.     Change, Insert pair or Delete pair? (C,I,D):
  2039.  
  2040. results in the deletion of the selcted command pair.
  2041.  
  2042.  
  2043.  
  2044.                                      -28-
  2045.  
  2046.  
  2047.  
  2048.                                    HOSTCALL
  2049.  
  2050. After the selected line has been edited, the current sequence of commands will
  2051. be redisplayed followed by
  2052.  
  2053.     Line number to edit (0=CONTINUE,ESC=EXIT):
  2054.  
  2055. Entering a 0 (followed by a carriage return) will display the next sequence of
  2056. commands.  The program returns to the menu when the COMMAND FILE terminator is
  2057. reached. You may abort the review of the COMMAND FILE by hitting the ESC key.
  2058.  
  2059. Note  that a DIRECT COMMAND SEQUENCE may contain a line of 3 dots. These lines
  2060. are  just fillers, and they are ignored by the program. However, you can enter
  2061. a  line  beginning with 3 dots when you are building a COMMAND FILE, which you
  2062. can later edit into a meaningful command.
  2063.  
  2064. Edited  input  is  not  checked  for  validity.  This  means that there are no
  2065. restrictions  on  editing. However it is important to exercise extreme care to
  2066. ensure  that you do not introduce invalid entries. Invalid entries are divided
  2067. into 4 categories. They are
  2068.     Invalid command
  2069.     Invalid time entry
  2070.     Invalid telephone number
  2071.     Invalid filename
  2072. Entries from the first two categories are intercepted by HOSTCALL while in the
  2073. COMMAND  MODE.  Depending upon where one occurs, HOSTCALL will take one of the
  2074. following 3 actions.
  2075.     Bypass the command
  2076.     Bypass the remainder of the command sequence
  2077.     Deactivate the entire command file
  2078. Telephone  numbers are interpreted by the Smartmodem. An invalid number may or
  2079. may  not  cause  the  Smartmodem  to  generate  an error, but in either case a
  2080. communications  link  is  not  made  and  the  entire  sequence of commands is
  2081. bypassed.  Filenames  are  interpreted by the Disk Operating System. If either
  2082. HOSTCALL or HOST-III (if you are communicating with HOST-III) encounters a bad
  2083. filename, then HOSTCALL bypasses the associated command.
  2084.  
  2085. NOTE THAT EDITING IS NOT ALLOWED IF HOSTCALL IS IN THE 15 MINUTE TIME DELAY TO
  2086. REDIAL A BUSY NUMBER. (See section IX).
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.                                      -29-
  2111.  
  2112.  
  2113.  
  2114.                                    HOSTCALL
  2115.  
  2116. VI. Review Status File
  2117.  
  2118. This  section  provides the details associated with reviewing the STATUS FILE.
  2119. The  STATUS  FILE  will  contain a copy of all the correspondence which occurs
  2120. between  HOSTCALL  and  the host system. Therefore you will want to review the
  2121. STATUS  FILE  after  communications have taken place. If you are communicating
  2122. with  HOST-III, then this file will also contain the drive A and B directories
  2123. of the remote computer.
  2124.  
  2125.  
  2126. This function is invoked from the HOSTCALL MENU. When invoked, HOSTCALL does
  2127. the following. It displays the header
  2128.  
  2129.     +++ REVIEW STATUS FILE +++
  2130.  
  2131. then  prints  a  screen  of  the STATUS FILE and then prompts you to press the
  2132. space  bar  to  continue.  Each  depression of the space bar displays the next
  2133. screen of the STATUS FILE. The program returns to the menu, if you depress the
  2134. ESC key or when the end of file is reached.
  2135.  
  2136. You  can  distinguish  between  HOSTCALL  error  messages  and  HOST-III error
  2137. messages  (if  you  are  communicating  with  HOST-III)  by  the highlighting.
  2138. HOSTCALL  error  messages will be highlighted by plus signs and HOST-III error
  2139. messages  will be highlighted by dashes. For instance a HOSTCALL error message
  2140. is
  2141.     +++ FILE NOT FOUND +++
  2142. and a HOST-III error message is
  2143.     --- FILE NOT FOUND ---
  2144.  
  2145.  
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.                                      -30-
  2177.  
  2178.  
  2179.  
  2180.                                    HOSTCALL
  2181.  
  2182. VII. Idle Mode
  2183.  
  2184. While  HOSTCALL  is  in  the state of automatic operation known as the COMMAND
  2185. MODE,  it  will  be  either  in the IDLE MODE or the ACTIVE MODE. This section
  2186. describes  HOSTCALL's  activities  and  the options available to you while the
  2187. program is in the IDLE MODE.
  2188.  
  2189.  
  2190. The  program  resides  in the IDLE MODE when it is waiting to make a telephone
  2191. call. Upon entering the IDLE MODE, HOSTCALL prints the header
  2192.  
  2193.     +++ IDLE MODE +++
  2194.  
  2195. and  generates a time display at the bottom of the screen.
  2196.  
  2197. If  the  next command in the COMMAND FILE is a CLOCK command, then the program
  2198. will display
  2199.  
  2200.     Next activity at ________
  2201.  
  2202. indicating  the time at which the next communications link will begin. It will
  2203. wait until that time is reached and then transfer to the ACTIVE MODE.
  2204.  
  2205. If, upon entering the IDLE MODE, the next command in the COMMAND FILE is not a
  2206. CLOCK command, then HOSTCALL will transfer directly to the ACTIVE MODE.
  2207.  
  2208. If,  upon  entering the IDLE MODE, HOSTCALL has already reached the end of the
  2209. COMMAND FILE, then the program will return immediately to the menu.
  2210.  
  2211. The current time is printed to the STATUS FILE at 10 minute intervals.
  2212.  
  2213. You  can  alternately  activate  and deactivate the printer with a CTRL Prtsc.
  2214. That  is, you must depress the CTRL key while simultaneously hitting the Prtsc
  2215. key,  and  then release both keys. When active, then printer will printout the
  2216. information being stored on the STATUS FILE.
  2217.  
  2218. You  can  return to the HOSTCALL MENU with an ALT U. That is, you must depress
  2219. the ALT key while simultaneously hitting the U, and then release both keys.
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.                                      -31-
  2243.  
  2244.  
  2245.  
  2246.                                    HOSTCALL
  2247.  
  2248. VIII. Active Mode
  2249.  
  2250. While  HOSTCALL  is  in  the state of automatic operation known as the COMMAND
  2251. MODE,  it  will  be  either  in the IDLE MODE or the ACTIVE MODE. This section
  2252. describes  HOSTCALL's  activities  and  the options available to you while the
  2253. program is in the ACTIVE MODE.
  2254.  
  2255.  
  2256. The   program   is   in  the  ACTIVE  MODE,  when  it  is  engaged  in  active
  2257. communications. Upon entering the ACTIVE MODE, HOSTCALL prints the header
  2258.  
  2259.     +++ ACTIVE MODE +++
  2260.  
  2261. and  generates  a  time  display at the bottom of the screen. All requests and
  2262. responses  exchanged between HOSTCALL and the host computer are printed to the
  2263. screen and the STATUS FILE, while the program is in the ACTIVE MODE.
  2264.  
  2265. HOSTCALL  recognizes 3 keyboard commands, while it is in the ACTIVE MODE. They
  2266. are
  2267.     ALT M      - Take and transmit a message  from  the  keyboard.  (Available
  2268.                  only when operating with HOST-III).
  2269.     ALT U      - Transfer to the HOSTCALL MENU.
  2270.     CTRL Prtsc - Print intercomputer correspondence on printer.
  2271. You  can  select  one by depressing the first key while simultaneously hitting
  2272. the second key, and then releasing both keys.
  2273.  
  2274. Another  special  key  is  the  ESC key. Whenever the program is in a state of
  2275. delay, such as when it is waiting for a response from the host system, the ESC
  2276. key  will  force  it  out of the delay. If you want to return to the menu upon
  2277. breaking  out  of a delay state, then you should enter an ALT U instead of the
  2278. ESC key.
  2279.  
  2280. Commands from the COMMAND FILE are processed until a CLOCK command or the file
  2281. terminator is encountered. If a CLOCK command is encountered, the program will
  2282. close  the  communications  link  and  transfer  to the IDLE MODE. If the file
  2283. terminator  is encountered, the program will close the communications link and
  2284. transfer to the HOSTCALL MENU.
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.                                      -32-
  2309.  
  2310.  
  2311.  
  2312.                                    HOSTCALL
  2313.  
  2314. IX. Dialing
  2315.  
  2316. This section provides information concerning the program's process of making a
  2317. telephone call.
  2318.  
  2319.  
  2320. The  DIAL command instructs HOSTCALL to initiate a communications link. If the
  2321. host  computer  answers  the  telephone, then a link will be made and HOSTCALL
  2322. will  proceed  to  the  next  command.  However,  if  for some reason the host
  2323. computer  does  not answer the telephone (such as when the line is busy), then
  2324. HOSTCALL will delay activities and redial after waiting 15 minutes.
  2325.  
  2326. You can override the 15 minute redial delay in two ways. One is by hitting the
  2327. ESC  key.  The  other  is  by  transferring  to  the  HOSTCALL  MENU  and then
  2328. transferring back to the COMMAND MODE. The program will immediately redial the
  2329. number.  You  can  elect to review the COMMAND FILE while you are in the menu.
  2330. However  editing  will  not  be  allowed,  if  HOSTCALL is waiting to redial a
  2331. number.
  2332.  
  2333. The  program  will  bypass the entire sequence of commands, if a connection is
  2334. not made after redialing.
  2335.  
  2336. All of these activities will be recorded in the STATUS FILE.
  2337.  
  2338.  
  2339.  
  2340.  
  2341.  
  2342.  
  2343.  
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.                                      -33-
  2375.  
  2376.  
  2377.  
  2378.                                    HOSTCALL
  2379.  
  2380. X. Messages
  2381.  
  2382. This  section  provides  information concerning the exchange of messages while
  2383. communicating with HOST-III.
  2384.  
  2385.  
  2386. There are 3 categories of messages. They are:
  2387.     Message entered into the COMMAND FILE
  2388.     Spontaneous message initiated by the HOSTCALL operator
  2389.     Spontanoeus message initiated by the HOST-III operator
  2390. Messages  entered  into  the  COMMAND  FILE  as  it  is  being constructed are
  2391. transferred  during normal activity as they are encountered. The procedure for
  2392. entering this type of message is described in section III. 
  2393.  
  2394.  
  2395. If  you  want  to  send  the  HOST-III  operator a spontaneous message while a
  2396. communications link is active, then enter ALT M. That is, you must depress the
  2397. ALT  key  while simultaneously hitting the M, and then release both keys. When
  2398. HOSTCALL finishes processing the current command, it will prompt you with
  2399.  
  2400.     +++ PROCEED WITH MESSAGE +++
  2401.  
  2402. At this point you may key in your message to the HOST-III operator.
  2403.  
  2404.  
  2405. If the HOST-III operator has sent you a message, then HOSTCALL will prompt you
  2406. with
  2407.  
  2408.     +++ ENTER ALT-M TO RESPOND TO MESSAGE +++
  2409.  
  2410. and  wait  one minute for you to so. If you do not respond to the prompt, then
  2411. the  program will resume processing the COMMAND FILE. If you do want to answer
  2412. the  message,  then you must first respond to the prompt by depressing the ALT
  2413. key  while  simultaneously  hitting  the M, and then releasing both keys. When
  2414. HOSTCALL receives the ALT M, it will prompt you with
  2415.  
  2416.     +++ PROCEED WITH MESSAGE +++
  2417.  
  2418. At this point you may key in your response to the HOST-III operator.
  2419.